home *** CD-ROM | disk | FTP | other *** search
- on exitFrame
- global gTRGameObj, gTRHelpUp, gTREndGame, gTRButtInhibit, gSISystem, gSIActiveWindow, gSIHParentWnd
- if gSISystem = "WIN" then
- set vHWnd to gSIActiveWindow(mCall)
- if vHWnd <> gSIHParentWnd then
- go(the frame)
- exit
- end if
- end if
- if gTRHelpUp then
- MenuRollOver(1)
- UIRollover(46, 47)
- else
- MenuRollOver()
- UIRollover(46, 47)
- if mGetPopCount(gTRGameObj) > 29 then
- set vMouse to point(the mouseH, the mouseV)
- set vHotSpot to rect(400, 255, 500, 287)
- if inside(vMouse, vHotSpot) then
- set gTRButtInhibit to 1
- end if
- EndGame()
- exit
- end if
- CheckForKnotHit()
- end if
- go(the frame)
- end
-
- on mouseDown
- CheckForPop()
- end
-